



#-rdynamic
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}  -O2 -Wall -std=c++11  -ldl")
set(CMAKE_C_FLAGS " ${CMAKE_C_FLAGS}   -O2  -ldl")

message(status "c flag: ${CMAKE_C_FLAGS}")
message(status "cxx flag: ${CMAKE_CXX_FLAGS}")

add_executable( test_bt main.cpp )
add_library(btfun SHARED lib.cpp)
target_link_libraries(test_bt btfun)


